package com.icow.wms.basic.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.icow.common.annotation.Excel;
import com.icow.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * product对象 product_domain
 * 
 * @author lqq
 * @date 2021-02-02
 */
public class ProductDomain extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdDate;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedDate;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 货位类型 */
    @Excel(name = "货位类型")
    private String shelfType;

    /** 货物ID */
    @Excel(name = "编码ID")
    private String code;

    /** 货物属性 */
    @Excel(name = "货物属性")
    private String shpShuXing;

    /** 规格 */
    @Excel(name = "规格")
    private String shpGuiGe;

    public String getShpGuiGe() {
        return shpGuiGe;
    }

    public void setShpGuiGe(String shpGuiGe) {
        this.shpGuiGe = shpGuiGe;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCreatedDate(Date createdDate) 
    {
        this.createdDate = createdDate;
    }

    public Date getCreatedDate() 
    {
        return createdDate;
    }
    public void setModifiedDate(Date modifiedDate) 
    {
        this.modifiedDate = modifiedDate;
    }

    public Date getModifiedDate() 
    {
        return modifiedDate;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setShelfType(String shelfType) 
    {
        this.shelfType = shelfType;
    }

    public String getShelfType() 
    {
        return shelfType;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getShpShuXing() {
        return shpShuXing;
    }

    public void setShpShuXing(String shpShuXing) {
        this.shpShuXing = shpShuXing;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createdDate", getCreatedDate())
            .append("modifiedDate", getModifiedDate())
            .append("name", getName())
            .append("shelfType", getShelfType())
            .toString();
    }
}
